import http from "@/utils/http";
import { HttpResponse, checkHttpError } from "./common";

/**
 * 获得所有平台
 * @returns
 */
export async function getAllInSys(): Promise<[]> {
  const resp: HttpResponse = await http.get("/Sys_inter/showallinsys/");
  checkHttpError(resp);
  return resp.detail;
}
